package com.lsp.microcommon.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

//读取yaml配置
/**
 * minio属性类
 */
@Data
//@Component
// 通过指定的前缀，绑定配置文件中的配置
@ConfigurationProperties(prefix = "minio")
public class MinioProperties {

    private String endpoint;

    private String accessKey;

    private String secretKey;

    private String bucketName;
}
